package com.zzz.mybatisdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zzz.mybatisdemo.pojo.entity.Employee;
import org.apache.ibatis.annotations.Param;

/**
 * @BelongsProject: mybatis-demo
 * @BelongsPackage: com.zzz.mybatisdemo.mapper
 * @Author: zhai
 * @CreateTime: 2025-09-29  18:32
 * @Description: TODO
 * @Version: 1.0
 */
public interface EmployeeMapper extends BaseMapper<Employee> {
    IPage<Employee> selectByGender(IPage page, String gender);
    IPage<Employee> selectByAge (IPage page, @Param("minAge") Integer minAge);
}
